#include "Point.h"
int main()
{
    /*try
    {
        Point<2> p1({0.1,0.2,0.3,0.5});
    }catch(PointDimensionException& e)
    {
        std::cout << e.what() << std::endl;
    }*/
    double temp[] = {0,0};
    Point<2> p(temp);
    std::cout << p << std::endl;
    Point<2> p1({1,1});
    std::cout << p1 << std::endl;
    std::cout << distance(p,p1) << std::endl;
    return 0;
}